//
//  KABCelebrityTCell.h
//  kabu
//
//  Created by XiangDongMBP on 2017/2/4.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABCelebrityTCell;
@protocol KABCelebrityTCellDelegate <NSObject>
@optional
- (void)kABCelebrityTCell:(KABCelebrityTCell *)cell imgViewDownload:(UIImageView *)imgView;
- (void)kABCelebrityTCell:(KABCelebrityTCell *)cell portraitImgViewTapped:(UIImageView*)imgView;
@end

@class KABCosCelListItem;
@interface KABCelebrityTCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIButton *rankBtn;
@property (weak, nonatomic) IBOutlet UIImageView *portraitImgView;
@property (weak, nonatomic) IBOutlet UIButton *nameBtn;
@property (weak, nonatomic) IBOutlet UIButton *fansCntBtn;
@property (weak, nonatomic) IBOutlet UIImageView *introduceImgView;
@property (weak, nonatomic) IBOutlet UILabel *introNameLabel;
@property (weak, nonatomic) IBOutlet UIButton *introFansCntBtn;
@property (weak, nonatomic) IBOutlet UILabel *introduceLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *contentBgHeightConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *introduceImgViewHeightConstraint;

@property (weak, nonatomic) id<KABCelebrityTCellDelegate>delegate;
//@property (assign, nonatomic) NSInteger index;

- (void)configViewWithCelebrityItem:(KABCosCelListItem *)item;

@end
